package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HDriver;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HDriverMapper {
    int deleteByPrimaryKey(String id);

    int insert(HDriver record);

    int insertSelective(HDriver record);

    HDriver selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HDriver record);

    int updateByPrimaryKey(HDriver record);

    List<HDriver> selectAll(RowBounds rowBounds, @Param("name")String name,@Param("type")String type);

    List<HDriver> selectByDeptId(RowBounds rowBounds,@Param("deptId") String deptUuid,@Param("name")String name,@Param("type")String type);

    int deleteByIds(@Param("idList") List<String> idList,@Param("userId") String userId);

    List<HDriver> findByIds(RowBounds rowBounds, @Param("ids") List<String> driverIds);
}